Setting project options
"Box options" dialog appears as you click the "Options" button in the main
window. All the options will be auto-saved in the project configuration file named
<program-name>.mbxcfg and auto-loaded when you recall
specified application.
General options
- Log box files access actions - when running packed application, a log file
named <program-name>.exe-up.txt will be created. The following actions
are logged:
- loader operations (DLL loading, functions import, etc);
- box operations (files opening/closing/reading).
This option is typically used for debugging purposes.
- Enable CRC check - check control sum. This option should be switched
off if you're planning to use another wrapper after MoleBox. Control sum
protects your program from unauthorized changes.
- Make packed files visible for standard OpenFile dialog - allows to
show the list of packed files when you use OpenFile dialog in your program.
By default, this option is set ON, i.e. packed files are visible in OpenFile
dialog, and are accessible for FindFirstFile() and FindNextFile() functions.
Please note, that independently of this option, packed files can be opened only
by your packed application, and cannot be opened by third party program.
With this option on, OpenFile will only receive a list of file names.
Default package options
- Pack sections of executable - compress and encrypt executable file.
Zip algorithm is used for compression and DES/IDEA-like for encryption.
- Separate data sections in default package - with this option set
after processing the default package you'll get two resulting files,
*.exe, containing application and "box" file, containing data and resource
files. Otherwise, these files will be merged into single *.exe file.
Use this option when box size is big to minimize application size and
loading time.
- File name field can be used to set your own box file name, if
you have chosen "Separate data sections in default package" option.
Compression options
- Compression level describes project overall compression method
for data files. Possible values are "No compression" and "Zip
compression".
- Compression threshold indicates required file size reduction. If
compression of some file does not result in decreasing its filesize below
this threshold, that file will be stored unchanged.
Cryptography options:
- Use strong encryption - with this options set, strong encryption algorithm will be used
for encrypting box files; otherwise, Byte-to-byte Xor will be used.
- Master key is a base for creating encryption keys. By clicking
the "Change" button, you can enter your own phrase, which will be used
to generate 128-bits master key (hexadecimal value is shown).